package com.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.domain.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface BookDao extends BaseMapper<Book> {

    @Select("select * from book where id=#{id}")
    Book getById(Integer id);

}
